<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>注册</title>
    <link rel="stylesheet" href="CSS/common.css">
    <link rel="stylesheet" href="CSS/login.css">
</head>
<body>
    <!-- 导航栏 -->
    <div class="nav">
        <img src="image/logo.jpg" alt="">
        <span class="title">注册一个用户</span>
        <span class="spacer"></span>

        <a href="login.html">返回登录页面</a>
    </div>

    <div class="login-container">
        <div class="login-dialog">
            <form action="reg" method="post">
                <!-- 标题 -->
                <h3>注册一个用户</h3>
                <!-- 输入用户名 -->
                <div class="row">
                    <span>用户名</span>
                    <input type="text" id="username" name="username">
                </div>
                <div class="row">
                    <span>密码</span>
                    <input type="password" id="password" name="password">
                </div>
                <div class="row">
                    <span>确认密码</span>
                    <input type="password" id="password" name="ensurePassword">
                </div>
                <!-- 提交按钮 -->
                <div class="row submit-row" >
                    <!--<button id="submit">提 交</button>-->
                    <input type="submit" id="submit" value="注 册">
                </div>
            </form>
        </div>
    </div>
</body>
</html>